package icu.bughub.app.app.model.entity

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class ArticleEntity(
    val title: String? = null,
    val source: String? = null,
    @Json(name = "time")
    val timestamp: String? = null,
    val content: String? = null,
)

data class ArticleListResponse(
    val data: List<ArticleEntity> = emptyList<ArticleEntity>()
) : BaseResponse()

data class ArticleInfoResponse(
    val data: ArticleEntity = ArticleEntity()
) : BaseResponse()